project(svnmigrator)

cmake_minimum_required(VERSION 2.6)

# subversion
include(FindSubversion)
find_package(Subversion REQUIRED)

# openssl
include(FindOpenSSL)
find_package(OpenSSL REQUIRED)
include_directories(${OPENSSL_INCLUDE_DIR})
link_directories(${OPENSSL_LIBRARIES})

add_executable(
  svnmigrator
  src/main.cpp
  src/md5.h
  src/md5.cpp
)

add_executable(
  svnrdump
  src/svnrdump.cpp
)

target_link_libraries(
  svnmigrator
  ${OPENSSL_LIBRARIES}
)
